<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no">
    <meta http-equiv="Cache-Control" content="no-transform" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta name="applicable-device" content="pc,mobile">
    <title>投稿列表 - 天天线报网 </title>
    <link rel="icon" href="https://daydayzhuan.oss-cn-shenzhen.aliyuncs.com/static/logo.png" type="image/x-icon"/>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/layui/css/reset.css"/>
    <link rel="stylesheet" href="/css/index.css"/>
    <script src="https://daydayzhuan.oss-cn-shenzhen.aliyuncs.com/static/jquery-3.3.1.min.js"></script>
    <script src="/layui/layui.js"></script>
    <script src="/script/users/list.js"></script>
    <script src="/script/common.js"></script>

    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?0e9ace0ec6eaa50fecc2ca9f52f63f89";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>

    <script>
        (function(){
            var bp = document.createElement('script');
            var curProtocol = window.location.protocol.split(':')[0];
            if (curProtocol === 'https'){
                bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
            }
            else{
                bp.src = 'http://push.zhanzhang.baidu.com/push.js';
            }
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(bp, s);
        })();
    </script>
</head>
<body>
<div th:replace="common/menu::menu(menuList=${menuList})"></div>
<div th:replace="common/floatMenu::floatMenu"></div>

<input type="hidden" id="type" th:value="${typeId}">
<input type="hidden" id="uid" th:value="${uid}">
<input type="hidden" id="pageData" th:value="${page}">
<div class="layui-fluid"  style="margin-top: 5px;padding: 0px 0px !important;">

    <!-- 左侧资讯列表  -->
    <div class=" layui-col-md12 article_contents" >
        <!--  左侧封面 -->
        <!--</div>-->
        <div class="layui-fluid article" th:each="p:${projectList}">
            <div class="layui-row">
                <div class="layui-col-md4 layui-col-xs3 layui-col-sm3 layui-show-md-block">
                    <div class="coverImg">
                        <img th:src="${p.cover}" style="width: 220px;height: 150px;" class="img-lg" th:alt="${p.title}" th:title="${p.title}+' - 天天线报网'">
                    </div>
                </div>
                <div class="layui-col-md8 layui-col-xs9 layui-col-sm9">
                    <!--右侧信息-->
                    <div class="articleContent">
                        <div class="title hover-title"  >
                            <div style="display: inline" class="layui-hide-xs">
                                <span class="layui-badge article-label" th:if="${p.isToday == '1'}">今日更新</span>
                                <span class="layui-badge  article-label "  th:text="${p.typeObj.typeName}" th:classappend="${p.typeObj.id!=3}?'layui-bg-blue'"></span>
                            </div>
                            <a style="display: inline"  th:href="'/article/'+${p.id}"
                               th:title="${p.title}" th:utext="${p.title}">
                            </a>
                        </div>
                        <div class="meta">
                            <i class="layui-icon meta-icon layui-icon-date" th:text="${p.showCreateTime}"></i>
                            <i class="layui-icon meta-icon layui-icon-read" th:text="'阅读('+${p.readMount}+')'"></i>
                        </div>
                        <div class="articleInfo" th:text="${p.summary}+'...'">
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div id="pageDiv">
            <div id="page"></div>
        </div>
    </div>

</div>


<div th:include="common/footer::footer"></div>

</body>
</html>